package com.janwen.j2se.number;

import java.math.BigDecimal;

import org.apache.log4j.Logger;

public class NumberUtil {

	
	static final Logger logger = Logger.getLogger(NumberUtil.class);
	
	public static void foramtDouble(double a,double b){
		logger.info(a*b);
	}
	
	
	public static void compareDouble(Double a){
		logger.info(a>15);
	}
	
	public static void compareBigDecimal(BigDecimal a){
		logger.info(a.doubleValue()>15);
	}
}
